<!-- application/layouts/scripts/layout.phtml -->
<?php
echo $this->inits4Layout();
?>

<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		 
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		  <?php echo $this->headTitle(); ?>
		  <?php echo $this->headLink()->appendStylesheet('/css/global.css') ?>
	</head>
	<body>
		<div id="header" style="background-color: #EEEEEE; height: 30px;">
			   
			<div id="header-logo" style="float: left">

				        <b>Patrick's ZF-Blog-Application </b>
				   
			</div>
			<br clear="left" />
			<div id="header-navigation" style="float: left">
				<?php echo $this->navigation()->myMenu(); ?>    
			</div>
			   
			<div id="header-login" style="float: right">

				<?php $this->login($this->userLogin); ?>      
				   
			</div>
			<br clear="left" />
			<div>
				<ul>
					<?php
					$flashMessenger = Zend_Controller_Action_HelperBroker::getStaticHelper('FlashMessenger');
					foreach ($flashMessenger->getMessages() as $message) {
						echo '<li>' . $message . '</li>';
					}
					?>
				</ul>
			</div>

		</div>
		<br />
		<!-- content     -->
		<?php echo $this->layout()->content ?>
		<!-- end-content -->
		 
	</body>
</html>